#if($msg)
<script>
alert('$!msg');
</script>
#end
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>预览图片</title>
<link href="/include/manage/images/main/style.css" rel="stylesheet" type="text/css" />
<link href="/include/manage/dialog/asyncbox.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/ckeditor/ckeditor.js"></script>
<script type="text/javascript" src="/ckeditor/ck_init.js"></script>
<script type="text/javascript" src="/include/manage/js/datepicker.js"></script>
<script type="text/javascript" src="/include/manage/js/jquery.js"></script>
<script type="text/javascript" src="/include/manage/js/AsyncBox.js"></script>
<script language="javascript">
jQuery.ajaxSetup ({  
	cache: false
});

function checkForm(){
	jQuery("#Save")[0].enabled=false;
	jQuery("#writeform").submit();
}
</script>
</head>
<body>
<form id="writeform" name="writeform" method="post" action="/manage_pic.ad">
<input type="hidden" name="parameter" value="audit" />
<input type="hidden" name="id" id="id" value="$!thisPic.id" />
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="30" background="/include/manage/images/main/tab_05.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="12" height="30"><img src="/include/manage/images/main/tab_03.gif" width="12" height="30" /></td>
        <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="46%" valign="middle"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="5%"><div align="center"><img src="/include/manage/images/main/tb.gif" width="16" height="16" /></div></td>
                <td width="95%"><span class="STYLE3">当前位置</span>：[内容管理]-[预览图片]</td>
              </tr>
            </table></td>
            <td width="54%">
            #if($action=="update")
            <table border="0" align="right" cellpadding="0" cellspacing="0">
              <tr>
                <td width="60"><table width="90%" border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td><div align="center"><a href="/manage_news.ad?parameter=add&tid=#if($tid)$!tid#else$!news.type#end"><img src="/include/manage/images/main/22.gif" width="14" height="14" /></a></div></td>
                    <td><div align="center"><a href="/manage_news.ad?parameter=add&tid=#if($tid)$!tid#else$!news.type#end">新增</a></div></td>
                  </tr>
                </table></td>
                <td width="52"><table width="88%" border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td><div align="center"><a href="/manage_news.ad?parameter=delete&id=$!news.id"><img src="/include/manage/images/main/11.gif" width="14" height="14" /></a></div></td>
                    <td><div align="center"><a href="/manage_news.ad?parameter=delete&id=$!news.id">删除</a></div></td>
                  </tr>
                </table></td>
              </tr>
            </table>
            #end
            </td>
          </tr>
        </table></td>
        <td width="16"><img src="/include/manage/images/main/tab_07.gif" width="16" height="30" /></td>
      </tr>
    </table></td>
  </tr>
  <tr>
  	<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="8" background="/include/manage/images/main/tab_12.gif">&nbsp;</td>
        <td>
<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="b5d6e6">
    <tr> 
      <td width="80" height="25" bgcolor="#ffffff">&nbsp;图片标题：</td>
      <td width="300" bgcolor="#ffffff">&nbsp;
      	$!thisPic.name
      </td>
    </tr>
	<tr>
    	<td height="25" bgcolor="#ffffff">&nbsp;上 传 者：</td>
        <td bgcolor="#ffffff">&nbsp;
        	$!thisPic.getAuthor()
		</td>
    </tr>
	<tr>
    	<td height="25" bgcolor="#ffffff">&nbsp;上传时间：</td>
        <td bgcolor="#ffffff">&nbsp;
        	$!thisPic.date
		</td>
    </tr>
	<tr>
    	<td height="25" bgcolor="#ffffff">&nbsp;是否审核：</td>
        <td bgcolor="#ffffff">&nbsp;
        #if($pop==3)
        <input name="display" id="isnotdisplay" type="radio" value="0"#if($thisPic.display)#if($thisPic.display==0) checked#end#else checked#end /><label for="isnotdisplay">未审核</label>&nbsp;
      	<input name="display" id="isdisplay" type="radio" value="1" #if($thisPic.display)#if($thisPic.display==1) checked#end#end /><label for="isdisplay">已审核</label>
        #else
        	#if($thisPic.display==1)已审核#else未审核#end<input type="hidden" name="display" #if($thisPic.display) value="$!thisPic.display"#else value="0"#end />
        #end
		</td>
    </tr>
    <tr> 
 		<td height="25" bgcolor="#ffffff">&nbsp;</td>
      <td bgcolor="#ffffff">&nbsp;
      	<a href="$!thisPic.url"><img src="$!thisPic.url"/></a>
      </td>
    </tr>
</table>
		</td>
        <td width="8" background="/include/manage/images/main/tab_15.gif">&nbsp;</td>
      </tr>
    </table></td>
    </tr>
  <tr>
    <td height="35" background="/include/manage/images/main/tab_19.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="12" height="35"><img src="/include/manage/images/main/tab_18.gif" width="12" height="35" /></td>
        <td valign="top"><div align="center">
			<input id="Save" type="button" name="Save" value="保存" onClick="checkForm()"/>
        </div></td>
        <td width="16"><img src="/include/manage/images/main/tab_20.gif" width="16" height="35" /></td>
      </tr>
    </table>
	</td>
  </tr>
</table>
  </form>
</body>
</html>